﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace GPBenhLanh
{
    public partial class frmPhieuHoanTien : DevExpress.XtraReports.UI.XtraReport
    {
        public frmPhieuHoanTien()
        {
            InitializeComponent();
        }

        private void TP21check_TextChanged(object sender, EventArgs e)
        {
            if (TP21check.Checked == true)
            {
                this.TP21Ma.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP21Ten.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP21Tien.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP21SL.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                
            }
        }

        private void TP22check_TextChanged(object sender, EventArgs e)
        {
            if (TP22check.Checked == true)
            {
                this.TP22Ma.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP22Ten.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP22Tien.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP22SL.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            }
        }

        private void TP23check_TextChanged(object sender, EventArgs e)
        {
            if (TP23check.Checked == true)
            {
                this.TP23Ma.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP23Ten.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP23Tien.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP23SL.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            }
        }

        private void TP24check_TextChanged(object sender, EventArgs e)
        {
            if (TP24check.Checked == true)
            {
                this.TP24Ma.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP24Ten.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP24Tien.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP24SL.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            }
        }

        private void TP25check_TextChanged(object sender, EventArgs e)
        {
            if (TP25check.Checked == true)
            {
                this.TP25Ma.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP25Ten.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP25Tien.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP25SL.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            }
        }

        private void TP26check_TextChanged(object sender, EventArgs e)
        {
            if (TP26check.Checked == true)
            {
                this.TP26Ma.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP26Ten.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP26Tien.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP26SL.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            }
        }

        private void TP27check_TextChanged(object sender, EventArgs e)
        {
            if (TP27check.Checked == true)
            {
                this.TP27Ma.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP27Ten.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP27Tien.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP27SL.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            }
        }

        private void TP28check_TextChanged(object sender, EventArgs e)
        {
            if (TP28check.Checked == true)
            {
                this.TP28Ma.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP28Ten.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP28Tien.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
                this.TP28SL.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            }
        }

    }
}
